import { WeaTools } from 'ecCom';

export const getPortalInitData = params => WeaTools.callApi('/api/crm/customer/getPortalInitData', 'GET', params);

export const getPasswordForm = params => WeaTools.callApi('/api/crm/customer/changePassWorldForm', 'GET', params);

export const savePassword = params => WeaTools.callApi('/api/crm/customer/savePassword', 'POST', params);

export const logout = params => WeaTools.callApi('/api/hrm/login/checkLogout', 'POST', params);
